package org.airlink.persistence.criteria.expressions
{
	import flex.persistence.criteria.Expression;
	import flex.persistence.criteria.Order;

	public class Asc implements Order
	{
		private var expression:Expression;
		
		public function Asc(expression:Expression) {
			this.expression = expression;	
		}
		
		public function toString():String {
			return "order by " + expression.asValue() + " asc";
		}
		
		public function asValue():String {
			return this.toString();
		}
	}
}